package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.entity.Result;
import com.woniu.entity.dto.ShopSearchDTO;
import com.woniu.pojo.Shop;

import java.util.List;

public interface IShopService {
    PageResult<Shop> listSearch(ShopSearchDTO shopSearchDTO);

    Result save(Shop shop);

    Integer deleteByIds(Long[] ids);

    Result updateById(Shop shop);

    Shop getById(Long id);

    Shop checkNameExist(String name);

    List<Shop> listAll();
}
